package com.hl.toolkit.server.tycoin.user.slaveentity;
// Generated 2017-5-20 22:33:23 by Hibernate Tools 4.0.0.Final

import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name="tycoin_user_level")
public class TycoinUserLevel extends AbstractEntity implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4162517044765204051L;

 
	
	@Column(name = "uniacid")
	private int uniacid;
	
	@Column(name = "level")
	private Integer level;
	
	@Column(name = "name")
	private String name;
	
	@Column(name = "category")
	private String category;
	
	@Column(name = "money")
	private BigDecimal money;
	
	@Column(name = "num")
	private Integer num;
	
	@Column(name = "discount")
	private BigDecimal discount;

	public TycoinUserLevel() {
	}

	public TycoinUserLevel(int uniacid, String category) {
		this.uniacid = uniacid;
		this.category = category;
	}

	public TycoinUserLevel(int uniacid, Integer level, String name, String category, BigDecimal money, Integer num,
			BigDecimal discount) {
		this.uniacid = uniacid;
		this.level = level;
		this.name = name;
		this.category = category;
		this.money = money;
		this.num = num;
		this.discount = discount;
	}

 
	public int getUniacid() {
		return this.uniacid;
	}

	public void setUniacid(int uniacid) {
		this.uniacid = uniacid;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public BigDecimal getMoney() {
		return this.money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public BigDecimal getDiscount() {
		return this.discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

}
